package com.plum.admin.modules.youeorder.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.plum.admin.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运力公司-订单详情
 * </p>
 *
 * @author 子丶沫
 * @since 2021-08-17
 */
@Data
@Accessors(chain = true)
@TableName("order_account_details")
@ApiModel(value="OrderAccountDetails对象", description="运力公司-订单详情")
public class OrderAccountDetails implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "账单id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "司机id")
    @TableField("driver_id")
    private Integer driverId;

    @ApiModelProperty(value = "订单id")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty(value = "订单创建时间")
    @TableField("order_create_time")
    private LocalDateTime orderCreateTime;

    @ApiModelProperty(value = "订单支付时间")
    @TableField("order_pay_time")
    private LocalDateTime orderPayTime;

    @ApiModelProperty(value = "订单完成时间")
    @TableField("order_finish_time")
    private LocalDateTime orderFinishTime;

    @ApiModelProperty(value = "0城际订单 1市内订单 2接送机订单")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "订单来源 0-自有平台 1-滴滴 2-携程")
    @TableField("order_source")
    private Integer orderSource;

    @ApiModelProperty(value = "行程费")
    @TableField("order_price")
    private BigDecimal orderPrice;

    @ApiModelProperty(value = "附加费")
    @TableField("other_price")
    private BigDecimal otherPrice;

    @ApiModelProperty(value = "渠道抽成金额")
    @TableField("commission_price")
    private BigDecimal commissionPrice;

    @ApiModelProperty(value = " 1正常订单 2免单订单 3退款订单")
    @TableField("order_type")
    private Integer orderType;

    @ApiModelProperty(value = "平台抽成金额")
    @TableField("platform_price")
    private BigDecimal platformPrice;

    @ApiModelProperty(value = "司机抽成金额")
    @TableField("driver_price")
    private BigDecimal driverPrice;

    @ApiModelProperty(value = "运力公司抽成金额")
    @TableField("company_price")
    private BigDecimal companyPrice;

    @ApiModelProperty(value = "一级公司抽成金额")
    @TableField("one_company_price")
    private BigDecimal oneCompanyPrice;

    @ApiModelProperty(value = "一级公司名称")
    @TableField("one_company_name")
    private String oneCompanyName;

    @ApiModelProperty(value = "二级公司名称")
    @TableField("two_company_name")
    private String twoCompanyName;

    @ApiModelProperty(value = "二级公司抽成金额")
    @TableField("two_company_price")
    private BigDecimal twoCompanyPrice;

    @ApiModelProperty(value = "三级公司名称")
    @TableField("three_company_name")
    private String threeCompanyName;

    @ApiModelProperty(value = "三级公司抽成金额")
    @TableField("three_company_price")
    private BigDecimal threeCompanyPrice;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "删除标识")
    @TableField("del_flag")
    private Integer delFlag;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "订单状态")
    @TableField("order_status")
    private Integer orderStatus;


}
